package org.domus.sipnmove.useragent.view;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import org.domus.sipnmove.useragent.UserAgent;

/**
 * Call button action listener
 */
public class QuitButtonActionListener implements ActionListener {

	private UserAgent userAgent;

	public QuitButtonActionListener(UserAgent userAgent) {
		this.userAgent = userAgent;
	}

	@Override
	public void actionPerformed(ActionEvent e) {

		userAgent.quit();

	}

}
